package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
*
* 五大判断系统
*
*/
@SuppressWarnings("serial")
@TableName(value="five_judgment_system")
public class FiveJudgmentSystem extends Model<FiveJudgmentSystem>{

	/**
	 * 主键
	 */
	@TableId(value="fjs_id")
	private long fjsId;
	
	/**
	 * 项目
	 */
	private String project;
	
	/**
	 * 检测值
	 */
	@TableField(value="detection_value")
	private String detectionValue;
	
	/**
	 * 正常值
	 */
	@TableField(value="normal_value")
	private String normalValue;
	
	/**
	 * 描述
	 */
	private String description;
	
	/**
	 * 外键
	 */
	@TableField(value="mt_id")
	private long mtId;
	
	public FiveJudgmentSystem() {
		super();
	}

	public FiveJudgmentSystem(long fjsId, String project, String detectionValue, String normalValue, String description,
							  long mtId) {
		super();
		this.fjsId = fjsId;
		this.project = project;
		this.detectionValue = detectionValue;
		this.normalValue = normalValue;
		this.description = description;
		this.mtId = mtId;
	}

	public long getFjsId() {
		return fjsId;
	}

	public void setFjsId(long fjsId) {
		this.fjsId = fjsId;
	}

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getDetectionValue() {
		return detectionValue;
	}

	public void setDetectionValue(String detectionValue) {
		this.detectionValue = detectionValue;
	}

	public String getNormalValue() {
		return normalValue;
	}

	public void setNormalValue(String normalValue) {
		this.normalValue = normalValue;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public long getMtId() {
		return mtId;
	}

	public void setMtId(long mtId) {
		this.mtId = mtId;
	}

	@Override
	public String toString() {
		return "FiveJudgmentSystem [fjsId=" + fjsId + ", project=" + project + ", detectionValue=" + detectionValue
				+ ", normalValue=" + normalValue + ", description=" + description + ", mtId=" + mtId + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return fjsId;
	}

}
